# -*- coding: utf-8 -*-
from __future__ import print_function, division
#系统库
import logging
import logging.config
#第三方库

#自定义库


#主体
# 内部初始化函数
logger = logging.getLogger("SERVER")
handler = logging.FileHandler("../log/webserver.log")
formatter = logging.Formatter('%(asctime)s - %(levelname)s: %(message)s')
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(1)
logger.info('System started')
